public class test {

    public static void main(String[] args) {
        int m = (int) (Math.random() * 8);
        System.out.println(m);
    }
}
